package com.gongj.config;

import com.gongj.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

@Configuration
//@Component
//@Service
//@Controller
public class MyConfig {

	@Bean("mz")
	public User myUserBean(){
		return new User();
	}
}
